<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Oops.. Error</title>
</head>
<body>
    <div>
    We appologize, but it seems we're having some technical problems at the moment. <br />
    Please try again in a few minutes.<br /> 
    You can email us at <a href="javascript:void(0)" onclick="doEmail()"><%=ConfigManager.AdminEmail.Replace("@"," <span> at </span> ").Replace(".","<span> dot </span>")%></a>.
    
   <script type="text/javascript">
<!--
<%var rand=DateTime.Now.Ticks; %>
       var email = '<%=ConfigManager.AdminEmail.Replace("@"," "+rand+" ").Replace("."," _"+rand+"_ ")%>';
       function doEmail() {

           var j = eval('em' + 'ail.' + 'replace(/ <%=rand %> /g,\'@' + '\').re' + 'place(/ _<%=rand %>_ /g,\'.\')');
           eval('window' + '.location' + '.href="mai' + 'lto:'+j+ '";');
       }
//--> </script>
    </div>
</body>
</html>
